﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace sync
{
    public class FileAction
    {
        public FileAction(string repositoryPath, KnowenAnnounceFileInfo knowenFileInfo)
        {
            this.LocalFile = new FileInfo(String.Format("{0}{1}", repositoryPath, knowenFileInfo.Path));
        }

        public FileInfo LocalFile { get; set; }
        public Stream RemoteStream { get; set; }

        public int Percent { get; set; }
        public string Status { get; set; }

        public virtual void Start() {}
        public virtual void Cancel(){}
    }
}
